Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
How to do this curl request in Pure Javascript with parameter "-F"

I want to use this API in javascript/jquery, which is currently in curl and get the JSON response, My below

curl -F "file=@test.txt" https://api.anonfiles.com/upload

What i have tried

<form enctype="multipart/form-data" action="https://api.anonfiles.com/v1/upload" method="POST"> 
    <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> 
    Send this file: <input name="file" type="file" /> 
    <input type="submit" value="Send File" /> 
</form> 

(not working :/)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!